//
//  ViewController.m
//  ofoCrack
//
//  Created by admin on 17/2/22.
//  Copyright © 2017年 Wheng. All rights reserved.
//

#import "ViewController.h"
#import "CrackData.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    
    BicycleModel *model = [[BicycleModel alloc] init];
    model.number = @"123456";
    model.password = @"654321";
    
    [[CrackData singleton] addBicycleData:model];
    NSString *password = [[CrackData singleton] selectBicycleDataWithNumber:@"124"];
    
    NSLog(@"%@",password);
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
